package com.cangxuan.manage.service;
import com.cangxuan.manage.bean.Page;
import com.cangxuan.manage.entity.User;
import com.cangxuan.manage.entity.UserGoods;

import java.util.List;

public interface IUserService {
    /**
     * 分页获取用户信息
     */
    Page<User> page(int pageIndex, int pageSize, int id,String mobile,String realName, String idcard, int realNameInfo);

    List<User> isRealNamed();

    boolean changeState(Boolean available , int userId);

    List<UserGoods> selectByUserID(int userID);

    boolean changeSubscribe(Boolean subscribeToTheSalesCalendar , int userId);
    boolean changeDisplayMyGoods(Boolean displayMyGoods , int userId);
    boolean changeDisplayMySellGoods(Boolean displayMySellGoods , int userId);
}
